<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<html:html>	
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
		<title><bean:message key="AltaAlumno.titulo" /></title>
	</head>
	
	<body>
		<html:errors/>
		<html:form action="/altaAlumno" enctype="multipart/form-data" >
			<table width="100%" border="0">
			  	<caption>
			  		<font color="#990000"><strong><bean:message key="AltaAlumno.info" /></strong></font> 
			  	</caption>
			  	<tr> 
			    	<td width="38%">
			    		<bean:message key="AltaAlumno.nombre" />
			    	</td>
			   		<td colspan="2"> 
			   			<html:text property="nombre" maxlength="255" size="30" />
			   		</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="AltaAlumno.apellido" />
			    	</td>
			    	<td colspan="2">
			    		<html:text property="apellido" maxlength="255" size="30" />
			    	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="AltaAlumno.dni" />
			    	</td>
			    	<td colspan="2">
			    		<html:text property="dni" maxlength="30" size="20" />
			    	</td>
			  	</tr>
			 	<tr> 
			    	<td>
			    		<bean:message key="AltaAlumno.sexo" />
			    	</td>
			   		<td colspan="2"> 
			   			<html:radio property="sexo" value="M">
			   				<bean:message key="AltaAlumno.sexo.masculino" />
			   			</html:radio>	
			   			<html:radio property="sexo" value="F">		   			 			     		
				     		<bean:message key="AltaAlumno.sexo.femenino" />	
			     		</html:radio>		      		
			      	</td>
			  	</tr>
			  	<tr> 
			   		<td>
			   			<bean:message key="AltaAlumno.fechaNac" />
			   		</td>
			    	<td colspan="2">
			    		<!--<bean:message key="AltaAlumno.anio" /> 	
			    		<html:text property="anio" maxlength="30" size="4" />
			      		&nbsp;
			      		&nbsp; 
			      		<bean:message key="AltaAlumno.mes" />			      		 			      		
			      		<select name="mes" id="mes">
				          <option selected></option>
				          <option value="1">1</option>
				          <option value="2">2</option>
				          <option value="3">3</option>
				          <option value="4">4</option>
				          <option value="5">5</option>
				          <option value="6">6</option>
				          <option value="7">7</option>
				          <option value="8">8</option>
				          <option value="9">9</option>
				          <option value="10">10</option>
				          <option value="11">11</option>
				          <option value="12">12</option> 
				        </select>
			      		&nbsp; 
			      		&nbsp; 		
			      		<bean:message key="AltaAlumno.dia" />	      		 
			      		<select name="dia" id="dia" >
				          <option selected></option>
				          <option value="1">1</option>
				          <option value="2">2</option>
				          <option value="3">3</option>
				          <option value="4">4</option>
				          <option value="5">5</option>
				          <option value="6">6</option>
				          <option value="7">7</option>
				          <option value="8">8</option>
				          <option value="9">9</option>
				          <option value="10">10</option>
				          <option value="11">11</option>
				          <option value="12">12</option>
				          <option value="13">13</option>
				          <option value="14">14</option>
				          <option value="15">15</option>
				          <option value="16">16</option>
				          <option value="17">17</option>
				          <option value="18">18</option>
				          <option value="19">19</option>
				          <option value="20">20</option>
				          <option value="21">21</option>
				          <option value="22">22</option>
				          <option value="23">23</option>
				          <option value="24">24</option>
				          <option value="25">25</option>
				          <option value="26">26</option>
				          <option value="27">27</option>
				          <option value="28">28</option>
				          <option value="29">29</option>
				          <option value="30">30</option>
				          <option value="31">31</option>
				        </select> 
			      	-->
			      		<html:text property="fechaIngreso" maxlength="10" size="15" />
			      	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="AltaAlumno.direccion" /> 
			    	</td>
			    	<td colspan="2">
			    		<html:text property="direccion" maxlength="255" size="50" />
			    	</td>
			  	</tr>
			  	<tr> 
			    	<td>
				    	<bean:message key="AltaAlumno.telefono" />
			    	</td>
			    	<td colspan="2">
			    		<html:text property="telefono" maxlength="255" size="20" />
			    	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="AltaAlumno.estadoCivil" />
			    	</td>
			    	<td colspan="2"> 
			    		<select name="estadoCivil" id="estadoCivil">
				          <option selected></option>
				          <option value="1">Soltero</option>
				          <option value="2">Casado</option>
				          <option value="3">Divorciado</option>
				          <option value="4">Separado</option>
				          <option value="5">Otros</option>
				        </select>
			      	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="AltaAlumno.apellidoNombreMadre" />
			    	</td>
			    	<td colspan="2"> 
			    		<html:text property="apellidoNombreMadre" maxlength="255" size="50" />
			    	</td>
			  	</tr>
			  	<tr> 
			   		<td>
			   			<bean:message key="AltaAlumno.apellidoNombrePadre" />
			   		</td>
			   		<td colspan="2"> 
			   			<html:text property="apellidoNombrePadre" maxlength="255" size="50" />
			   		</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="AltaAlumno.religion" />
			    	</td>
			    	<td colspan="2"> 
			    		<html:text property="religion" maxlength="100" size="30" />
			    	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="AltaAlumno.escuela" />
			    	</td>
			    	<td colspan="2"> 
			    		<html:select property="nombreEscuela"> 
				    		<html:option value=""></html:option> 
				      	 	<html:optionsCollection
												name="alumnoForm"
												property="escuelas"
												value="idEscuela"
												label="nombre" /> 
						 </html:select> 
			      	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="AltaAlumno.grado" />
			    	</td>
			    	<td colspan="2"> 
			    		<select name="grado" id="grado">
				          <option selected></option>
				          <option value="1">Primero</option>
				          <option value="2">Segundo</option>
				          <option value="3">Tercero</option>
				          <option value="4">Cuarto</option>
				          <option value="5">Quinto</option>
				          <option value="6">Sexto</option>
				          <option value="7">Septimo</option>
				        </select>
			      	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="AltaAlumno.actividadExtra" />
			    	</td>
			    	<td colspan="2"> 
			    		<html:text property="actividadExtra" maxlength="255" size="50" />
			    	</td>
			  	</tr>
			  	<tr> 
			    	<td colspan="3">&nbsp;</td>
			  	</tr>
			  	<tr> 
			    	<td>			    		
			      		&nbsp;
			      	</td>
			    	<td colspan="2"> 
			    		<html:checkbox name="alumnoForm" property="asisteCopaLeche"><bean:message key="AltaAlumno.asisteCopaLeche" /></html:checkbox>			      		
			      	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		&nbsp;
			      	</td>
			    	<td colspan="2">
			    		<html:checkbox name="alumnoForm" property="asistePrimeroMiPrimaria"><bean:message key="AltaAlumno.asistePrimeroPrimaria" /></html:checkbox>			      		 			    		
			      	</td>
			  	</tr>
			  	<tr> 
			    	<td colspan="3">&nbsp;</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="AltaAlumno.problemas" />
			    	</td>
			    	<td colspan="2"> 
			    		<html:textarea property="problemas" cols="50" rows="2" />
			    	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="AltaAlumno.observaciones" />
			    	</td>
			    	<td colspan="2"> 
			    		<html:textarea property="observaciones" cols="50" rows="2" />
			    	</td>
			  	</tr>
			  	<tr> 
			    	<td colspan="3">&nbsp;</td>
			  	</tr>
			  	<tr align="center"> 
			    	<td colspan="3">
			    		<bean:message key="AltaAlumno.adjuntarFoto" />
				  		&nbsp;			      		 
			      		<html:file property="foto" />
			      	</td>
			  	</tr>
			  	<tr> 
			    	<td colspan="3">&nbsp;</td>
			  	</tr>
			  	<tr> 
			    	<td align="center"> 
			    		<html:submit><bean:message key="Botones.guardar" /></html:submit> 
			    	</td>
			    	<td width="15%" align="center"> 
			    		<html:cancel><bean:message key="Botones.cancelar" /></html:cancel> 
			    	</td>
			    	<td width="47%" align="center"> 
			    		<html:reset><bean:message key="Botones.reset" /></html:reset>
			    	</td>
			  	</tr>
			</table>
			<%-- set the parameter for the dispatch action --%>
			<html:hidden property="action" value="altaAlumno" />
		</html:form>
	</body>
</html:html>